package com.woniuxy.sale.entity.dto;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 选货单项表;
 * </p>
 *
 * @author lio
 * @since 2023-09-07
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
//@Accessors(chain=true)
public class SalePackOrderItemDTO implements Serializable {

    /**
     * id
     */
    @ExcelIgnore
    private Integer oiid;

    /**
     * 选货总表id
     */
    @ExcelIgnore
    private Integer soid;

    /**
     * 商品编号
     */
    @Excel(name = "产品编号", width = 20)
    private String goodsNumber;

    /**
     * 商品名
     */
    @Excel(name = "产品名称", width = 20)
    private String goodsName;

    /**
     * 重量
     */
    @Excel(name = "产品重量", width = 20)
    private BigDecimal weight;

    /**
     * 数量
     */
    @Excel(name = "产品数量", width = 20)
    private Integer count;

    /**
     * 单价
     */
    @Excel(name = "产品单价", width = 20)
    private BigDecimal unitPrice;
}
